<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
<head>
<title>Tcl/Tk tutorial</title>
<link rel="stylesheet" href="/cfg/format.css" type="text/css">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="GUI, Tcl/Tk, Tcl, programming, Linux, tutorial, learn Tcl/Tk">
<meta name="description" content="This is Tcl/Tk tutorial. In this tutorial, you will learn the basics of
programming with Tcl and Tk. The tutorial is suitable for beginners and intermediate programmers.">
<meta name="language" content="en">
<meta name="author" content="Jan Bodnar">
<meta name="distribution" content="global">

<script type="text/javascript" src="/lib/jquery.js"></script>
<script type="text/javascript" src="/lib/common.js"></script>

<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5536206-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body>

<div class="container">

<div id="wide_ad" class="ltow">
<script type="text/javascript"><!--
google_ad_client = "pub-9706709751191532";
/* 160x600, August 2011 */
google_ad_slot = "2484182563";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<div class="content">

<a href="/" title="Home">Home</a>

<h1>Tcl/Tk tutorial</h1>

<p>
This is Tcl/Tk tutorial. In this tutorial, you will learn the basics of
programming with Tcl and Tk. The tutorial is suitable for 
beginners and intermediate programmers.
</p>

<h2>Table of contents</h2>

<ul>
  <li><a href="introduction/">Introduction</a></li>
  <li><a href="layout/">Layout management</a></li>
  <li><a href="widgets/">Widgets</a></li>
  <li><a href="menustoolbars/">Menus &amp; toolbars</a></li>
  <li><a href="dialogs/">Dialogs</a></li>
  <li><a href="drawing/">Drawing</a></li>
  <li><a href="nibbles/">Nibbles</a></li>
</ul>

<h2>Tk</h2>

<p>
<b>Tk</b> is an open source, cross-platform widget toolkit that provides a 
library of basic elements for building a graphical user interface (GUI). 
The first public release of Tk was in 1991. There are bindings for several 
other languages including Ada, Perl, Ruby, Python or Common Lisp.
The Tk library is often referred with its main language as Tcl/Tk.
</p>

<div class="g-plusone"></div>


<h2>Similar tutorials</h2>

<p>
ZetCode presents other two related tutorials that you might be interested
in. <a href="/lang/tcl/">Tcl tutorial</a> and 
<a href="/gui/tkinter/">Tkinter tutorial</a>.
</p>


<div class="footer">

<div class="signature">
<a href="/">ZetCode::</a> last modified March 11, 2011 <span class="copyright">&copy; 2007 - 2013 Jan Bodnar</span>
</div>
</div>

</div> <!-- content -->

</div> <!-- container -->

</body>
</html>

